package data.womenclothing.apparel;

import java.util.LinkedList;
import java.util.List;

import data.womenclothing.WomenClothing;
import data.womenclothing.size.ApparelSize;


public abstract class Apparel extends WomenClothing {
	
	public static final String TYPE = "Apparel";
	
	
	protected List<ApparelSize> sizes;
	

	protected Apparel(List<String> materials, List<String> colors,
			String productDescription, String brand, List<ApparelSize> sizes) {
		super(materials, colors, productDescription, brand);
		subtypes.add(TYPE);
		
		this.sizes = sizes;
	}
	
	
	public List<String> getSizes() {
		LinkedList<String> values = new LinkedList<String>();
		
		for(ApparelSize size : sizes)
			values.add(size.toString());
		
		return values; 
	}

}
